﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Collections.ObjectModel;

namespace PM.Entity
{
    public class CDSTransaction
    {
        #region public methods
        /// <summary>
        /// default constructor of Trade. 
        /// </summary>
        public CDSTransaction()
        {
            this.CDSTranId = 0;
            this.TransactionDate = string.Empty;
            this.Reference = string.Empty;
            this.CompanyId = string.Empty;
            this.MainType = string.Empty;
            this.SubType = 0;
            this.ClientPrefix = 0;
            this.ClientSuffix = string.Empty;
            this.JointAcNo = 0;
            this.TransactionType = 0;
            this.TransactionDesc = string.Empty;
            this.Quantity = 0;
            this.TradeDate = 0;


        }
        #endregion


        #region property

        public int CDSTranId { get; set; }
        public string TransactionDate { get; set; }
        public string Reference { get; set; }
        public string CompanyId { get; set; }        
        public string MainType { get; set; }
        public int SubType { get; set; }
        public int ClientPrefix { get; set; }
        public string ClientSuffix  { get; set; }
        public int JointAcNo { get; set; }
        public int TransactionType { get; set; }
        public string TransactionDesc { get; set; }
        public int Quantity { get; set; }
        public int TradeDate { get; set; }

        #endregion

    }

    public class CDSTransactionCollection : Collection<CDSTransaction>
    {
        public CDSTransactionCollection()
        {
        }
    }
}
